<template>
	<view class="wrap" style="padding-top:50rpx;">
		<view class="reg-text">忘记密码</view>
		<view class="list">
			<view class="list-call">
				<view class="iconfont icon-shouji" style="font-size: 22px;color:#5473e8;"></view>
				<u-field v-model="email" placeholder="请填写邮箱" :label-width="0"  style="width: 100%;" :border-bottom='false'/>
			</view>
		</view>
		
		<view class="button" @click="code()"><text>获取验证码</text></view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				email: '',
			};
		},
		onLoad() {

		},
		methods: {
			code() {
				setTimeout(() => {
					uni.navigateTo({
						url: '/pages/sys/login/code?phoneNo=' + this.email
					});
				}, 500);
			},
		}
	};
</script>

<style lang="scss">
	@import 'index.scss';

	.uni-input-placeholder {
		font-size: 32rpx;
	}

	.uni-input-input {
		font-size: 32rpx;
	}

</style>
